home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
ugoku
/
src.lzh
/
MOVRLF
/
IMEDSK3.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-01
|
22KB
|
895 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int baseV00DialogId ;
extern int baseV00BtnId[3] ;
extern int selectFuncV00Org() ;
extern int selectFuncV00Ply() ;
extern int baseV00InputDialogId[2] ;
extern int baseV00InputMesId[2] ;
extern int selectFuncV00Out() ;
extern int baseV00MesId[5] ;
extern int baseUnderTifDialogId ;
extern int baseUnderTifBtnId[1] ;
extern int selectFuncUnderTif() ;
extern int baseUnderMesId[1] ;
extern int baseUnderInputDialogId ;
extern int baseUnderInputMesId ;
extern int baseWaitDialogId ;
extern int baseWDBtnId[1] ;
extern int baseWDOkFunc() ;
extern int baseWMesId[2] ;
extern int baseSetupDialogId ;
extern int baseSetupDialogId2 ;
extern int baseSetupMesId[15] ;
extern int baseSetupNumId[6] ;
extern int baseSetupNumFunc() ;
extern int setupTIconId[2] ;
extern int setupTIconFunc() ;
extern int setupTIconId2[4] ;
extern int setupTIconFunc2() ;
extern int baseSDBtnId[2] ;
extern int baseSDOkFunc() ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init ùpâfü[â^ */
/* âwâbâ_ */
MMIINIT initDataIMEDSK3 = { "MmiInit", 52, 0 } ;
/* baseV00DialogId */
static MMIPACKET d001 = { &baseV00DialogId,
NULL,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
30, 96, 306, 288,15, 6, 8,
MS_NONEL40,
NULL, 0, 0
} ;
/* baseV00BtnId[0] */
static MMIPACKET d002 = { &baseV00BtnId[0],
&baseV00DialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d002d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
37, 114, 299, 162, 7, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
selectFuncV00Org,
0x0000
} ;
/* baseV00BtnId[2] */
static MMIPACKET d003 = { &baseV00BtnId[2],
&baseV00DialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d003d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
37, 175, 299, 198, 7, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
selectFuncV00Ply,
0x0000
} ;
/* baseV00InputDialogId[0] */
static MMIPACKET d004 = { &baseV00InputDialogId[0],
&baseV00DialogId,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d004d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40 | MS_DSPONLYL40,
44, 137, 293, 156,15, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* baseV00InputMesId[0] */
static MMIPACKET d005 = { &baseV00InputMesId[0],
&baseV00InputDialogId[0],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d005d = { MS_CENTERL40 | MS_DSPONLYL40,
47, 137, 289, 156, 0,15, 8,
MS_NONEL40,
" ",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseV00BtnId[1] */
static MMIPACKET d006 = { &baseV00BtnId[1],
&baseV00DialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d006d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
37, 211, 299, 259, 7, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
selectFuncV00Out,
0x0000
} ;
/* baseV00InputDialogId[1] */
static MMIPACKET d007 = { &baseV00InputDialogId[1],
&baseV00DialogId,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d007d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40 | MS_DSPONLYL40,
44, 234, 293, 253,15, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* baseV00InputMesId[1] */
static MMIPACKET d008 = { &baseV00InputMesId[1],
&baseV00InputDialogId[1],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d008d = { MS_CENTERL40 | MS_DSPONLYL40,
47, 234, 289, 253, 0,15, 8,
MS_NONEL40,
" ",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseV00MesId[0] */
static MMIPACKET d009 = { &baseV00MesId[0],
&baseV00DialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d009d = { MS_CENTERL40 | MS_DSPONLYL40,
90, 117, 246, 136, 0,15, 8,
MS_NONEL40,
"î┤ ëµ ât â@ âC âï",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseV00MesId[1] */
static MMIPACKET d010 = { &baseV00MesId[1],
&baseV00DialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d010d = { MS_CENTERL40 | MS_DSPONLYL40,
153, 163, 183, 174, 0,15, 8,
MS_NONEL40,
"ü½",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseV00MesId[4] */
static MMIPACKET d011 = { &baseV00MesId[4],
&baseV00DialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d011d = { MS_CENTERL40 | MS_DSPONLYL40,
90, 177, 246, 196, 0,15, 8,
MS_NONEL40,
"î┤ ëµ é╠ ì─ É╢",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseV00MesId[3] */
static MMIPACKET d012 = { &baseV00MesId[3],
&baseV00DialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d012d = { MS_CENTERL40 | MS_DSPONLYL40,
153, 199, 183, 210, 0,15, 8,
MS_NONEL40,
"ü½",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseV00MesId[2] */
static MMIPACKET d013 = { &baseV00MesId[2],
&baseV00DialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d013d = { MS_CENTERL40 | MS_DSPONLYL40,
90, 214, 246, 233, 0,15, 8,
MS_NONEL40,
"Åo ù═ ëµ ât â@ âC âï",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseUnderTifDialogId */
static MMIPACKET d014 = { &baseUnderTifDialogId,
NULL,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d014d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
30, 371, 306, 431,15, 6, 8,
MS_NONEL40,
NULL, 0, 0
} ;
/* baseUnderTifBtnId[0] */
static MMIPACKET d015 = { &baseUnderTifBtnId[0],
&baseUnderTifDialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d015d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
37, 377, 299, 425, 7, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
selectFuncUnderTif,
0x0000
} ;
/* baseUnderMesId[0] */
static MMIPACKET d016 = { &baseUnderMesId[0],
&baseUnderTifDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d016d = { MS_CENTERL40 | MS_DSPONLYL40,
90, 380, 246, 399, 0,15, 8,
MS_NONEL40,
"éséhéeéeâtâ@âCâï",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseUnderInputDialogId */
static MMIPACKET d017 = { &baseUnderInputDialogId,
&baseUnderTifDialogId,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d017d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40 | MS_DSPONLYL40,
44, 400, 293, 419,15, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* baseUnderInputMesId */
static MMIPACKET d018 = { &baseUnderInputMesId,
&baseUnderInputDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d018d = { MS_CENTERL40 | MS_DSPONLYL40,
47, 400, 289, 419, 0,15, 8,
MS_NONEL40,
" ",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseWaitDialogId */
static MMIPACKET d019 = { &baseWaitDialogId,
NULL,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS